package com.qfmy.model.entity.wallpaper;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author 清风明月
 * @Package com.qfmy.model.entity
 * @date  2025/11/26
 * @description 收藏记录实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("all")
public class Collection {
    @Schema(description = "记录ID")
    private Integer id;

    @Schema(description = "收藏用户ID（关联user表）")
    private Integer userId;

    @Schema(description = "被收藏内容ID（壁纸/头像/表情的ID）")
    private Integer targetId;

    @Schema(description = "内容类型：1=壁纸，2=头像，3=表情")
    private Integer targetType;

    @Schema(description = "收藏时间")
    private Date createTime;

    @Schema(description = "逻辑删除标记（0：未删除，1：已删除）")
    private Integer isDeleted;
}
